-- GENERATED SPELL FOR [Leech Widow] --


function spell0_1112(pUnit, Event) --@Deadly Leech Poison,Drain--
pUnit:FullCastSpellOnTarget(3388,pUnit:GetRandomPlayer(0))
pUnit:RegisterEvent('Sorts_1112', 45000, 1)
end

function Sorts_1112(pUnit, Event)
local choix_sorts_1112 = math.random(0, 0)
if choix_sorts_1112 == 0 then
pUnit:RegisterEvent('spell0_1112', 1, 1)
end
end

function mob1112_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1112', math.random(1500, 3000), 1)
end

function mob1112_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1112_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1112_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1112, 1, 'mob1112_Action')
RegisterUnitEvent(1112, 2, 'mob1112_Leave')
RegisterUnitEvent(1112, 3, 'mob1112_Kill')
RegisterUnitEvent(1112, 4, 'mob1112_Die')
